projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52dd0f5
)
notebook: Don't unset state flags on child removal
author
Benjamin Otte
<otte@redhat.com>
Sat, 19 Jul 2014 21:48:06 +0000
(23:48 +0200)
committer
Benjamin Otte
<otte@redhat.com>
Sat, 19 Jul 2014 21:48:06 +0000
(23:48 +0200)
We don't set any state flags, so we shouldn't unset any either.
gtk/gtknotebook.c
patch
|
blob
|
history
diff --git
a/gtk/gtknotebook.c
b/gtk/gtknotebook.c
index 3e1dee6ec92a8c4514e347e90d6efbb7d4ffcd5f..acb90e5f08260967c6fa61425ac535c778d2168b 100644
(file)
--- a/
gtk/gtknotebook.c
+++ b/
gtk/gtknotebook.c
@@
-4999,7
+4999,6
@@
gtk_notebook_remove_tab_label (GtkNotebook *notebook,
page->mnemonic_activate_signal);
page->mnemonic_activate_signal = 0;
- gtk_widget_set_state_flags (page->tab_label, 0, TRUE);
if (gtk_widget_get_window (page->tab_label) != gtk_widget_get_window (GTK_WIDGET (notebook)) ||
!NOTEBOOK_IS_TAB_LABEL_PARENT (notebook, page))
{